package com.ibeeking.found.msg.service.common.query;

import com.ibeeking.nematos.utils.base.BasePage;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @ClassName WxMpAutoMessageQuery
 * @Description
 * @Author ibeeking
 * @Date 2021-02-05 19:11
 **/
@Data
public class MpMessagePageQuery extends BasePage implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * MpId
     */
    @NotNull(message = "公众号id不能为空")
    private String appId;

    /**
     * 事件类型
     */
    @NotBlank(message = "事件类型不能为空")
    private String eventType;

    /**
     * 消息类型
     */
    private String sourceType;

    /**
     * 关键字规则
     */
    private String ruleName;

    /**
     * 发布状态
     */
    private Integer publishStatus;
}
